home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / PICTDialog / UDialogs.h < prev   
Encoding:
Text File  |  1995-02-06  |  1.4 KB  |  91 lines  |  [TEXT/MPS ]

  1. // Copyright © 1991 Apple Computer, Inc. All rights reserved.
  2.  
  3. #ifndef __UDIALOGS__
  4. #define __UDIALOGS__
  5.  
  6. #ifndef __TYPES__
  7. #include <Types.h>
  8. #endif
  9.  
  10. #ifndef __MACAPPTYPES__
  11. #include <MacAppTypes.h>
  12. #endif
  13.  
  14. #ifndef __MEMORY__
  15. #include <Memory.h>
  16. #endif
  17.  
  18. #ifndef __UOBJECT__
  19. #include <UObject.h>
  20. #endif
  21.  
  22. #ifndef __ULIST__
  23. #include <UList.h>
  24. #endif
  25.  
  26. #ifndef __CONTROLS__
  27. #include <Controls.h>
  28. #endif
  29.  
  30. #ifndef __WINDOWS__
  31. #include <Windows.h>
  32. #endif
  33.  
  34. #ifndef __TEXTEDIT__
  35. #include <TextEdit.h>
  36. #endif
  37.  
  38. #ifndef __DIALOGS__
  39. #include <Dialogs.h>
  40. #endif
  41.  
  42. #ifndef __UEVENTHANDLER__
  43. #include <UEventHandler.h>
  44. #endif
  45.  
  46. #ifndef __UCCOMMANDHANDLER__
  47. #include <UCommandHandler.h>
  48. #endif
  49.  
  50. #ifndef __UAPPLICATION__
  51. #include <UApplication.h>
  52. #endif
  53.  
  54. #ifndef __UVIEW__
  55. #include <UView.h>
  56. #endif
  57.  
  58. #ifndef __UWINDOW__
  59. #include <UWindow.h>
  60. #endif
  61.  
  62. #ifndef __UMACAPPUTILITIES__
  63. #include <UMacAppUtilities.h>
  64. #endif
  65.  
  66. #ifndef __UMACAPPGLOBALS__
  67. #include <UMacAppGlobals.h>
  68. #endif
  69.  
  70. #ifndef __UDIALOG__
  71. #include <UDialog.h>
  72. #endif
  73.  
  74.  
  75.  
  76. // ================================================================================
  77. DeclareClassDesc(TDialogsApplication);
  78.  
  79. class TDialogsApplication: public TApplication {
  80.  
  81.     DeclareClass(TDialogsApplication);
  82.  
  83. public:
  84.     virtual void IDialogsApplication();
  85.     virtual void DoMenuCommand(CommandNumber aCommandNumber);        // override
  86.     virtual void DoSetupMenus();                                    // override
  87.     virtual void ShowModalDialog();
  88. };
  89.  
  90. #endif
  91.